<%@ page language="java" contentType="text/html;charset=utf-8" pageEncoding="utf-8"%>
<%@ include file="/base/jsp/taglibs.jsp"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<%@ include file="/base/jsp/jscss.jsp"%>
	<title></title>
	<script type="text/javascript">
	
		
	</script>
</head>
<body>
	<table>
		<tr>
			<td>id</td><td>username</td><td>userBase.email</td><td>userBase.phone</td>
		</tr>
		<c:forEach items="${pageBean.result }" var="user" >
			<tr>
				<td>${user.id }</td>
				<td>${user.username }</td>
				<td>${user.userBase.email }</td>
				<td>${user.userBase.phone }</td>
			</tr>
		</c:forEach>
	</table>
	
<div id="dataList"></div>	
	
<div id='formTest'>
	<div id="formToolBar" class="datagrid-toolbar"></div>
	<form id="form" method="post" action="${ctx }/base/security/user/user!save.do">
		<table>
			<tr>
				<td>Name:</td>
				<td><input class="easyui-validatebox" type="text" name="bean.username" data-options="required:true"></input></td>
				<td>password:</td>
				<td><input class="easyui-validatebox" type="text" name="bean.password" data-options="required:true"></input></td>
				
				<td>userBase.email:</td>
				<td><input class="easyui-validatebox" type="text" name="bean.userBase.email" data-options="required:true"></input></td>
				<td>userBase.phone:</td>
				<td><input class="easyui-validatebox" type="text" name="bean.userBase.phone" data-options="required:true"></input></td>
				
			</tr>
			<tr>
				<td><input type="submit"/></td>
			</tr>
		</table>
	</form>
</div>
	
</body>
</html>